#ifndef __system_h__
#define __system_h__

#ifdef WIN_SYSTEM

#include <windows.h>
#include <tchar.h>
#include <assert.h>

#define API __stdcall

namespace core
{

    typedef HWND     handle;
    typedef HDC      canvas;

};

#define string2int atoi
#define string2long atol
#define string2dword strtoul

#pragma warning(disable:4311)
#pragma warning(disable:4312)

#endif

#endif